@section head{
    <link href="~/theme/default/login.index.css" rel="stylesheet" asp-append-version="true" />
}
<div id="app" style="height: 100%;">
    <el-container>
        <el-header></el-header>
        <el-container>
            <el-main style="background-color: #19C1F8">
                <div class="login-frame">
                    <h2 class="zb-flex zb-flex-center" style=""><img src="~/theme/default/images/logo.png" /><span>文件管理系统</span></h2>
                    @Html.AntiForgeryToken()
                    <el-input placeholder="请输入用户名" v-model="input.user_no" @@keyup.enter.native="$refs.password.focus();$refs.password.select();">
                        <template slot="prepend">
                            用户：
                        </template>
                    </el-input>
                    <el-input placeholder="请输入密码" ref="password" v-model="input.user_pwd" type="password" @@keyup.enter.native="onLogin">
                        <template slot="prepend">
                            密码：
                        </template>
                    </el-input>
                    <el-button id="btnLogin" type="primary" @@click="onLogin">登录</el-button>
                    <div v-html="tipMessage" class="message" :class="messageStatus"></div>
                </div>
            </el-main>
        </el-container>
        <el-footer></el-footer>
    </el-container>
</div>


@section script{
    <script src="~/module/common/md5.js"></script>
    <script type="text/babel" src="~/module/login/login.index.js" asp-append-version="true"></script>
} 